﻿@model DotNet.Model.MyEntity.ItemDetails
<div class="pageFormContent" layouth="60">
    <input type="hidden" name="ParentId" id="ParentId" value="@ViewBag.ParentId" />
    <input type="hidden" name="ItemID" value="@ViewBag.ItemID" />
    <table width="95%" class="tab01 tabNo">
        <tr>
            <td class="td1" style="width:25%;">
                    编号：
            </td>
            <td>
                <input type="hidden" name="Id" value="@ViewBag.Id" />
                @Html.TextBoxFor(m => m.ItemCode, new Dictionary<string, object> { {"class","input02"} })
                @Html.ValidationMessageFor(m => m.ItemCode)
            </td>
        </tr>
        <tr>
            <td class="td1">
                    名称：
            </td>
            <td>
                @Html.TextBoxFor(m => m.ItemName, new Dictionary<string, object> { {"class","input02"} })
                @Html.ValidationMessageFor(m => m.ItemName)
            </td>
        </tr>
        <tr>
            <td class="td1">
                    值：
            </td>
            <td>
                @Html.TextBoxFor(m => m.ItemValue, new Dictionary<string, object> { {"class","input02"} })
            </td>
        </tr>
        <tr>
            <td class="td1">
            </td>
            <td>
                <input type="checkbox" name="Enabled" id="Enabled" value="1" @Html.Raw(Model == null || Model.Enabled == null ? "checked='checked'" : (Model.Enabled == 1 ? "checked='checked'" : "")) />有效
            </td>
        </tr>
        <tr>
            <td class="td1">
                    描述：
            </td>
            <td>
                @Html.TextAreaFor(m => m.Description, new Dictionary<string, object> { {"class","input05"} })
            </td>
        </tr>
    </table>
</div>
